package com.yl.auth.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yl.auth.entity.Shenpishezhi;
import com.yl.auth.mapper.ShenpishezhiMapper;
import com.yl.auth.service.ShenpishezhiService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author ln
 * @since 2023-07-03
 */
@Service
public class ShenpishezhiServiceImpl extends ServiceImpl<ShenpishezhiMapper, Shenpishezhi> implements ShenpishezhiService {
    @Resource
    private ShenpishezhiMapper shenpishezhiMapper;
    @Override
    public IPage<Shenpishezhi> findAll(Page<Shenpishezhi> page1) {
        return shenpishezhiMapper.findAll(page1);
    }
}
